package com.hd.trans.network.bean.trans;

/**
 * 文本或图片翻译结果的详情
 */
public class QueryTaskStatus {
    private String taskId;
    //处理进度(0~100)
    private int progress;
    //任务状态:‘running’ 正在处理;‘success’ 处理成功;‘error’ 处理失败
    private String taskStatus;
    //翻译后文件的下载连接
    private String dst;
    //翻译后文件的文本
    private String dstText;
    //翻译后文件的预览图连接
    private String dstPreview;
    //翻译后的图片下载连接
    private String dstDownload;
    // 翻译前文件的文本
    private String srcText;
    //坐标对应关系
    private String meta;//仅图片
    //擦除了文字的图片
    private String inpainted;//仅图片
    //翻译后的文本下载连接
    private String trans;//仅图片
    //翻译前文件的文本下载连接
    private String untrans;//仅图片
    //预估排队时间
    private long estimatedTime;
    //等待翻译的文件数
    private int pendingCount;

    private boolean isDanger;//内容是否违规

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public int getProgress() {
        return progress;
    }

    public void setProgress(int progress) {
        this.progress = progress;
    }

    public String getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(String taskStatus) {
        this.taskStatus = taskStatus;
    }

    public String getDst() {
        return dst;
    }

    public void setDst(String dst) {
        this.dst = dst;
    }

    public String getDstText() {
        return dstText;
    }

    public void setDstText(String dstText) {
        this.dstText = dstText;
    }

    public String getDstPreview() {
        return dstPreview;
    }

    public void setDstPreview(String dstPreview) {
        this.dstPreview = dstPreview;
    }

    public String getDstDownload() {
        return dstDownload;
    }

    public void setDstDownload(String dstDownload) {
        this.dstDownload = dstDownload;
    }

    public String getSrcText() {
        return srcText;
    }

    public void setSrcText(String srcText) {
        this.srcText = srcText;
    }

    public void setMeta(String meta) {
        this.meta = meta;
    }

    public String getMeta() {
        return meta;
    }

    public String getInpainted() {
        return inpainted;
    }

    public void setInpainted(String inpainted) {
        this.inpainted = inpainted;
    }

    public String getTrans() {
        return trans;
    }

    public void setTrans(String trans) {
        this.trans = trans;
    }

    public String getUntrans() {
        return untrans;
    }

    public void setUntrans(String untrans) {
        this.untrans = untrans;
    }

    public long getEstimatedTime() {
        return estimatedTime;
    }

    public void setEstimatedTime(long estimatedTime) {
        this.estimatedTime = estimatedTime;
    }

    public int getPendingCount() {
        return pendingCount;
    }

    public void setPendingCount(int pendingCount) {
        this.pendingCount = pendingCount;
    }

    public boolean isDanger() {
        return isDanger;
    }

    public void setDanger(boolean danger) {
        isDanger = danger;
    }

    @Override
    public String toString() {
        return "QueryTaskStatus{" +
                "taskId=" + taskId +
                ", progress=" + progress +
                ", taskStatus='" + taskStatus + '\'' +
                ", dst='" + dst + '\'' +
                ", dstText='" + dstText + '\'' +
                ", dstPreview='" + dstPreview + '\'' +
                ", dstDownload='" + dstDownload + '\'' +
                ", srcText='" + srcText + '\'' +
                ", meta='" + meta + '\'' +
                ", inpainted='" + inpainted + '\'' +
                ", trans='" + trans + '\'' +
                ", untrans='" + untrans + '\'' +
                ", estimatedTime=" + estimatedTime +
                ", pendingCount=" + pendingCount +
                ", isDanger=" + isDanger +
                '}';
    }
}
